package com.huisang.dao.bill;


import java.sql.Connection;
import java.util.List;

import com.huisang.pojo.Bill;


public interface BillDao {
    //根据供应商id查询订单数量
    int getBillCountByProviderId(Connection connection, String providerId) throws Exception;
    //订单列表
    List<Bill> getBillList(Connection connection, Bill bill) throws Exception;
    //添加订单
    int add(Connection connection, Bill bill) throws Exception;
    //获取订单
    Bill getBillById(Connection connection, String id) throws Exception;
    //修改订单
    int modify(Connection connection, Bill bill) throws Exception;
    //删除订单
    int deleteBillById(Connection connection, String delId) throws Exception;
}
